#include"A.h"
#include"B.h"

int main(){
	A *a1 = new A();
	A *a2 = new B();
	a1->x();
	a2->x();
	_getch();
	return 0;
}